home *** CD-ROM | disk | FTP | other *** search
- global S6, S7, S8, S9, S10, S11, AA, AB, AC, BA, BB, BC, CA, CB, CC, DA, DB, DC
-
- on enterFrame
- puppetSprite(6, 1)
- puppetSprite(7, 1)
- puppetSprite(8, 1)
- puppetSprite(9, 1)
- puppetSprite(10, 1)
- puppetSprite(11, 1)
- set An1 to numToChar(the castNum of sprite 15 + 12)
- set An2 to numToChar(the castNum of sprite 16 + 12)
- if (S6 = (An1 & An2)) or (S6 = (An2 & An1)) then
- set the castNum of sprite 6 to cast "YES"
- else
- set the castNum of sprite 6 to cast S6
- end if
- updateStage()
- PS6()
- set An1 to numToChar(the castNum of sprite 21 + 12)
- set An2 to numToChar(the castNum of sprite 22 + 12)
- if (S7 = (An1 & An2)) or (S7 = (An2 & An1)) then
- set the castNum of sprite 7 to cast "YES"
- else
- set the castNum of sprite 7 to cast S7
- end if
- updateStage()
- PS7()
- set An1 to numToChar(the castNum of sprite 17 + 12)
- set An2 to numToChar(the castNum of sprite 18 + 12)
- if (S8 = (An1 & An2)) or (S8 = (An2 & An1)) then
- set the castNum of sprite 8 to cast "YES"
- else
- set the castNum of sprite 8 to cast S8
- end if
- updateStage()
- PS8()
- set An1 to numToChar(the castNum of sprite 23 + 12)
- set An2 to numToChar(the castNum of sprite 24 + 12)
- if (S9 = (An1 & An2)) or (S9 = (An2 & An1)) then
- set the castNum of sprite 9 to cast "YES"
- else
- set the castNum of sprite 9 to cast S9
- end if
- updateStage()
- PS9()
- set An1 to numToChar(the castNum of sprite 19 + 12)
- set An2 to numToChar(the castNum of sprite 20 + 12)
- if (S10 = (An1 & An2)) or (S10 = (An2 & An1)) then
- set the castNum of sprite 10 to cast "YES"
- else
- set the castNum of sprite 10 to cast S10
- end if
- updateStage()
- PS10()
- set An1 to numToChar(the castNum of sprite 25 + 12)
- set An2 to numToChar(the castNum of sprite 26 + 12)
- if (S11 = (An1 & An2)) or (S11 = (An2 & An1)) then
- set the castNum of sprite 11 to cast "YES"
- else
- set the castNum of sprite 11 to cast S11
- end if
- updateStage()
- PS11()
- end
-
- on PS6
- set xA to the left of sprite 6 + 1
- set yA to the bottom of sprite 6 - 48
- set A1 to value(char 1 of S6 & "A")
- set B1 to value(char 1 of S6 & "B")
- set C1 to value(char 1 of S6 & "C")
- set A2 to value(char 2 of S6 & "A")
- set B2 to value(char 2 of S6 & "B")
- set C2 to value(char 2 of S6 & "C")
- set the trails of sprite 27 to 1
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 27 to x1
- set the locV of sprite 27 to y1
- updateStage()
- end repeat
- set the trails of sprite 27 to 0
- end
-
- on PS7
- set xA to the left of sprite 7 + 1
- set yA to the bottom of sprite 7 - 48
- set A1 to value(char 1 of S7 & "A")
- set B1 to value(char 1 of S7 & "B")
- set C1 to value(char 1 of S7 & "C")
- set A2 to value(char 2 of S7 & "A")
- set B2 to value(char 2 of S7 & "B")
- set C2 to value(char 2 of S7 & "C")
- set the trails of sprite 28 to 1
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 28 to x1
- set the locV of sprite 28 to y1
- updateStage()
- end repeat
- set the trails of sprite 28 to 0
- end
-
- on PS8
- set xA to the left of sprite 8 + 1
- set yA to the bottom of sprite 8 - 48
- set A1 to value(char 1 of S8 & "A")
- set B1 to value(char 1 of S8 & "B")
- set C1 to value(char 1 of S8 & "C")
- set A2 to value(char 2 of S8 & "A")
- set B2 to value(char 2 of S8 & "B")
- set C2 to value(char 2 of S8 & "C")
- set the trails of sprite 29 to 1
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 29 to x1
- set the locV of sprite 29 to y1
- updateStage()
- end repeat
- set the trails of sprite 29 to 0
- end
-
- on PS9
- set xA to the left of sprite 9 + 1
- set yA to the bottom of sprite 9 - 48
- set A1 to value(char 1 of S9 & "A")
- set B1 to value(char 1 of S9 & "B")
- set C1 to value(char 1 of S9 & "C")
- set A2 to value(char 2 of S9 & "A")
- set B2 to value(char 2 of S9 & "B")
- set C2 to value(char 2 of S9 & "C")
- set the trails of sprite 30 to 1
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 30 to x1
- set the locV of sprite 30 to y1
- updateStage()
- end repeat
- set the trails of sprite 30 to 0
- end
-
- on PS10
- set xA to the left of sprite 10 + 1
- set yA to the bottom of sprite 10 - 48
- set A1 to value(char 1 of S10 & "A")
- set B1 to value(char 1 of S10 & "B")
- set C1 to value(char 1 of S10 & "C")
- set A2 to value(char 2 of S10 & "A")
- set B2 to value(char 2 of S10 & "B")
- set C2 to value(char 2 of S10 & "C")
- set the trails of sprite 31 to 1
- repeat with n = 1 to 89
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 31 to x1
- set the locV of sprite 31 to y1
- updateStage()
- end repeat
- set the trails of sprite 31 to 0
- end
-
- on PS11
- set xA to the left of sprite 11 + 1
- set yA to the bottom of sprite 11 - 48
- set A1 to value(char 1 of S11 & "A")
- set B1 to value(char 1 of S11 & "B")
- set C1 to value(char 1 of S11 & "C")
- set A2 to value(char 2 of S11 & "A")
- set B2 to value(char 2 of S11 & "B")
- set C2 to value(char 2 of S11 & "C")
- set the trails of sprite 32 to 1
- repeat with n = 1 to 88
- set x to n * 2.0 * PI / 180.0
- set x1 to (n * 2) + xA
- set y1 to yA - ((18.0 * A1 * sin((B1 * x) + (C1 * PI / 180.0))) + (18.0 * A2 * sin((B2 * x) + (C2 * PI / 180.0))))
- set the locH of sprite 32 to x1
- set the locV of sprite 32 to y1
- updateStage()
- end repeat
- set the trails of sprite 32 to 0
- end
-